Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.faceted.search.jsf.pageproviders--providers

This contribution is part of XML component org.nuxeo.ecm.platform.faceted.search.jsf.pageproviders inside nuxeo-platform-faceted-search-jsf-6.0.jar

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <coreQueryPageProvider name="USER_SAVED_SEARCHES">
            <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
            <pattern>
              SELECT * FROM FacetedSearch WHERE dc:creator = ? AND
              ecm:currentLifeCycleState != 'deleted'
            </pattern>
            <sort ascending="true" column="dc:title"/>
          </coreQueryPageProvider>
  • <coreQueryPageProvider name="OTHER_USERS_SAVED_SEARCHES">
            <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
            <pattern>
              SELECT * FROM FacetedSearch WHERE dc:creator != ? AND
              ecm:currentLifeCycleState != 'deleted'
            </pattern>
            <sort ascending="true" column="dc:title"/>
          </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

      <coreQueryPageProvider name="USER_SAVED_SEARCHES">
        <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
        <pattern>
          SELECT * FROM FacetedSearch WHERE dc:creator = ? AND
          ecm:currentLifeCycleState != 'deleted'
        </pattern>
        <sort ascending="true" column="dc:title"/>
      </coreQueryPageProvider>

      <coreQueryPageProvider name="OTHER_USERS_SAVED_SEARCHES">
        <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
        <pattern>
          SELECT * FROM FacetedSearch WHERE dc:creator != ? AND
          ecm:currentLifeCycleState != 'deleted'
        </pattern>
        <sort ascending="true" column="dc:title"/>
      </coreQueryPageProvider>

  </extension>